{"version":3,"sources":["dropdown_preview_field.js"],"names":["BX","namespace","Landing","UI","Field","DropdownPreview","data","this","items","BaseField","apply","arguments","layout","classList","add","frame","format","postfix","property","changeHandler","onChange","elements","setValue","value","input","innerText","name","addEventListener","onInputClick","bind","onFrameLoad","CreateSelect","create","props","className","prototype","constructor","__proto__","superClass","event","preventDefault","popup","self","map","item","text","menuShowDelay","subMenuOffsetX","onclick","close","PopupMenuWindow","id","selector","bindElement","zIndex","angle","bindOptions","forceBindPosition","events","onPopupClose","remove","parentNode","appendChild","popupWindow","popupContainer","rect","pos","style","top","bottom","left","right","slice","call","document","querySelectorAll","length","some","contains","preventEvent","getValue","fireEvent","dataset"],"mappings":"CAAC,WACA,aAEAA,GAAGC,UAAU,uBAUbD,GAAGE,QAAQC,GAAGC,MAAMC,gBAAkB,SAASC,GAE9CC,KAAKC,MAAQ,UAAWF,GAAQA,EAAKE,MAAQF,EAAKE,SAClDR,GAAGE,QAAQC,GAAGC,MAAMK,UAAUC,MAAMH,KAAMI,WAC1CJ,KAAKK,OAAOC,UAAUC,IAAI,6BAC1BP,KAAKK,OAAOC,UAAUC,IAAI,qCAC1BP,KAAKQ,aAAeT,EAAKS,QAAU,SAAWT,EAAKS,MAAQ,KAC3DR,KAAKS,cAAgBV,EAAKU,SAAW,WAAaV,EAAKU,OAAS,aAChET,KAAKU,eAAiBX,EAAKW,UAAY,SAAWX,EAAKW,QAAU,GACjEV,KAAKW,gBAAkBZ,EAAKY,WAAa,SAAWZ,EAAKY,SAAW,GACpEX,KAAKY,qBAAuBb,EAAKc,WAAa,WAAad,EAAKc,SAAW,aAC3Eb,KAAKc,YAELd,KAAKe,SAASf,KAAKC,MAAM,GAAGe,MAAO,MACnChB,KAAKiB,MAAMC,UAAYlB,KAAKC,MAAM,GAAGkB,KAErCnB,KAAKiB,MAAMG,iBAAiB,QAASpB,KAAKqB,aAAaC,KAAKtB,OAE5DA,KAAKuB,eAGN9B,GAAGE,QAAQC,GAAGC,MAAMC,gBAAg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